home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / dragon-runner.swf / scripts / WorldManager.as < prev   
Encoding:
Text File  |  2011-10-17  |  17.8 KB  |  506 lines

  1. package
  2. {
  3.    import flash.display.DisplayObjectContainer;
  4.    import flash.display.Sprite;
  5.    import flash.events.Event;
  6.    
  7.    public class WorldManager extends Sprite
  8.    {
  9.        
  10.       
  11.       internal const HEIGHTBG1:* = 50;
  12.       
  13.       internal const HEIGHTBG2:* = 133.33333333333334;
  14.       
  15.       internal const HEIGHTBG3:* = 133.33333333333334;
  16.       
  17.       internal const HEIGHTBG4:* = 100;
  18.       
  19.       internal const HEIGHTBG5:* = 266.6666666666667;
  20.       
  21.       internal const HEIGHTBG6:* = 400;
  22.       
  23.       internal const LEVELCHANGE:* = 50;
  24.       
  25.       internal const DOC_HEIGHT:* = 400;
  26.       
  27.       internal const BRDR_TOP:* = 0;
  28.       
  29.       private var ┬º\x01\x01\x03\x06┬º:* = null;
  30.       
  31.       private var ┬º\x01\x01\x03\x07┬º:DisplayObjectContainer;
  32.       
  33.       private var ┬º\x01\x01\x03\b┬º:DisplayObjectContainer;
  34.       
  35.       private var ┬º\x01\x01\x03\x0b┬º:* = null;
  36.       
  37.       internal const BRDR_BOTTOM:* = 400;
  38.       
  39.       private var ┬º\x01\x01\x03\f┬º:* = null;
  40.       
  41.       private var ┬º\x01\x01\x03\r┬º:* = null;
  42.       
  43.       private var ┬º\x01\x01\x03\x0e┬º:*;
  44.       
  45.       private var ┬º\x01\x01\x03\x0f┬º:* = null;
  46.       
  47.       internal const BRDR_LEFT:* = 0;
  48.       
  49.       private var ┬º\x01\x01\x03\x10┬º:* = null;
  50.       
  51.       private var ┬º\x01\x01\x04\x01┬º:* = null;
  52.       
  53.       internal const DOC_LEFT:* = 0;
  54.       
  55.       private var ┬º\x01\x01\x04\x03┬º:* = null;
  56.       
  57.       private var ┬º\x01\x01\x04\x04┬º:* = null;
  58.       
  59.       private var ┬º\x01\x01\x04\x05┬º:* = null;
  60.       
  61.       private var ┬º\x01\x01\x02\t┬º:*;
  62.       
  63.       private var ┬º\x01\x01\x04\x06┬º:* = null;
  64.       
  65.       private var ┬º\x01\x01\x04\x07┬º:* = null;
  66.       
  67.       internal const WIDTHBG1:* = 640;
  68.       
  69.       internal const WIDTHBG4:* = 640;
  70.       
  71.       internal const WIDTHBG5:* = 640;
  72.       
  73.       internal const WIDTHBG6:* = 640;
  74.       
  75.       internal const WIDTHBG2:* = 640;
  76.       
  77.       internal const WIDTHBG3:* = 640;
  78.       
  79.       private var ┬º\x01\x01\x04\b┬º:* = null;
  80.       
  81.       internal const TOPBG1:* = 350;
  82.       
  83.       internal const TOPBG2:* = 253.33333333333331;
  84.       
  85.       internal const TOPBG3:* = 213.33333333333334;
  86.       
  87.       internal const TOPBG4:* = -50;
  88.       
  89.       internal const TOPBG6:* = 0;
  90.       
  91.       private var ┬º\x01\x01\x04\t┬º:* = null;
  92.       
  93.       private var ┬º\x01\x01\x04\n┬º:* = null;
  94.       
  95.       internal const BRDR_RIGHT:* = 640;
  96.       
  97.       private var ┬º\x01\x01\x04\x0b┬º:DisplayObjectContainer;
  98.       
  99.       internal const DOC_TOP:* = 0;
  100.       
  101.       internal const TOPBG5:* = DOC_TOP + DOC_HEIGHT * 5 / 20;
  102.       
  103.       private var ┬º\x01\x01\x04\f┬º:DisplayObjectContainer;
  104.       
  105.       private var ┬º\x01\x01\x04\x0e┬º:Boolean = false;
  106.       
  107.       internal const DOC_WIDTH:* = 640;
  108.       
  109.       internal const FRONTSCROLLSPEED:* = 10;
  110.       
  111.       private var ┬º\x01\x01\x04\x10┬º:* = null;
  112.       
  113.       private var ┬º\x01\x01\x05\x01┬º:int = 0;
  114.       
  115.       internal const SCROLLSPEED1:* = 10;
  116.       
  117.       internal const SCROLLSPEED3:* = 7;
  118.       
  119.       internal const SCROLLSPEED4:* = 2;
  120.       
  121.       internal const SCROLLSPEED5:* = 1;
  122.       
  123.       internal const SCROLLSPEED6:* = 0;
  124.       
  125.       internal const SCROLLSPEED2:* = 9;
  126.       
  127.       public function WorldManager(param1:*, param2:*)
  128.       {
  129.          ┬º\x01\x01\x04\x0e┬º = false;
  130.          ┬º\x01\x01\x03\r┬º = null;
  131.          ┬º\x01\x01\x03\f┬º = null;
  132.          ┬º\x01\x01\x03\x10┬º = null;
  133.          ┬º\x01\x01\x04\x01┬º = null;
  134.          ┬º\x01\x01\x04\x04┬º = null;
  135.          ┬º\x01\x01\x04\x05┬º = null;
  136.          ┬º\x01\x01\x03\x0f┬º = null;
  137.          ┬º\x01\x01\x04\x03┬º = null;
  138.          ┬º\x01\x01\x03\x06┬º = null;
  139.          ┬º\x01\x01\x03\x0b┬º = null;
  140.          ┬º\x01\x01\x04\x06┬º = null;
  141.          ┬º\x01\x01\x04\x07┬º = null;
  142.          ┬º\x01\x01\x04\n┬º = null;
  143.          ┬º\x01\x01\x04\b┬º = null;
  144.          ┬º\x01\x01\x04\t┬º = null;
  145.          ┬º\x01\x01\x04\x10┬º = null;
  146.          ┬º\x01\x01\x05\x01┬º = 0;
  147.          super();
  148.          ┬º\x01\x01\x02\t┬º = param1;
  149.          ┬º\x01\x01\x03\x0e┬º = param2;
  150.          ┬º\x01\x01\x04\x0b┬º = new Sprite();
  151.          ┬º\x01\x01\x02\t┬º.addChild(┬º\x01\x01\x04\x0b┬º);
  152.          ┬º\x01\x01\x03\b┬º = new Sprite();
  153.          ┬º\x01\x01\x02\t┬º.addChild(┬º\x01\x01\x03\b┬º);
  154.          ┬º\x01\x01\x03\x07┬º = new Sprite();
  155.          ┬º\x01\x01\x02\t┬º.addChild(┬º\x01\x01\x03\x07┬º);
  156.          ┬º\x01\x01\x04\f┬º = new Sprite();
  157.          ┬º\x01\x01\x02\t┬º.addChild(┬º\x01\x01\x04\f┬º);
  158.       }
  159.       
  160.       private function ┬º\x01\x01\x03\x04┬º() : *
  161.       {
  162.          if(┬º\x01\x01\x03\r┬º)
  163.          {
  164.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\r┬º);
  165.             ┬º\x01\x01\x03\r┬º = null;
  166.          }
  167.          if(┬º\x01\x01\x03\f┬º)
  168.          {
  169.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\f┬º);
  170.             ┬º\x01\x01\x03\f┬º = null;
  171.          }
  172.          if(┬º\x01\x01\x03\x10┬º)
  173.          {
  174.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\x10┬º);
  175.             ┬º\x01\x01\x03\x10┬º = null;
  176.          }
  177.          if(┬º\x01\x01\x04\x01┬º)
  178.          {
  179.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x01┬º);
  180.             ┬º\x01\x01\x04\x01┬º = null;
  181.          }
  182.          if(┬º\x01\x01\x04\x04┬º)
  183.          {
  184.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x04┬º);
  185.             ┬º\x01\x01\x04\x04┬º = null;
  186.          }
  187.          if(┬º\x01\x01\x04\x05┬º)
  188.          {
  189.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x05┬º);
  190.             ┬º\x01\x01\x04\x05┬º = null;
  191.          }
  192.          if(┬º\x01\x01\x03\x0f┬º)
  193.          {
  194.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\x0f┬º);
  195.             ┬º\x01\x01\x03\x0f┬º = null;
  196.          }
  197.          if(┬º\x01\x01\x04\x03┬º)
  198.          {
  199.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x03┬º);
  200.             ┬º\x01\x01\x04\x03┬º = null;
  201.          }
  202.          if(┬º\x01\x01\x03\x06┬º)
  203.          {
  204.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\x06┬º);
  205.             ┬º\x01\x01\x03\x06┬º = null;
  206.          }
  207.          if(┬º\x01\x01\x03\x0b┬º)
  208.          {
  209.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x03\x0b┬º);
  210.             ┬º\x01\x01\x03\x0b┬º = null;
  211.          }
  212.          if(┬º\x01\x01\x04\x06┬º)
  213.          {
  214.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x06┬º);
  215.             ┬º\x01\x01\x04\x06┬º = null;
  216.          }
  217.          if(┬º\x01\x01\x04\x07┬º)
  218.          {
  219.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x07┬º);
  220.             ┬º\x01\x01\x04\x07┬º = null;
  221.          }
  222.          if(┬º\x01\x01\x04\n┬º)
  223.          {
  224.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\n┬º);
  225.             ┬º\x01\x01\x04\n┬º = null;
  226.          }
  227.          if(┬º\x01\x01\x04\b┬º)
  228.          {
  229.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\b┬º);
  230.             ┬º\x01\x01\x04\b┬º = null;
  231.          }
  232.          if(┬º\x01\x01\x04\t┬º)
  233.          {
  234.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\t┬º);
  235.             ┬º\x01\x01\x04\t┬º = null;
  236.          }
  237.          if(┬º\x01\x01\x04\x10┬º)
  238.          {
  239.             ┬º\x01\x01\x04\x0b┬º.removeChild(┬º\x01\x01\x04\x10┬º);
  240.             ┬º\x01\x01\x04\x10┬º = null;
  241.          }
  242.       }
  243.       
  244.       public function GetSceneContainer() : DisplayObjectContainer
  245.       {
  246.          return ┬º\x01\x01\x03\b┬º;
  247.       }
  248.       
  249.       private function ┬º\x01\x01\x03\x05┬º() : *
  250.       {
  251.       }
  252.       
  253.       private function ┬º\x01\x01\x03\t┬º() : *
  254.       {
  255.       }
  256.       
  257.       private function ┬º\x01\x01\x03\n┬º() : *
  258.       {
  259.       }
  260.       
  261.       public function GetMenuContainer() : DisplayObjectContainer
  262.       {
  263.          return ┬º\x01\x01\x04\f┬º;
  264.       }
  265.       
  266.       private function ┬º\x01\x01\x04\x02┬º() : *
  267.       {
  268.          if(┬º\x01\x01\x03\r┬º.x < -WIDTHBG1 + 1)
  269.          {
  270.             ┬º\x01\x01\x03\r┬º.x = ┬º\x01\x01\x03\f┬º.x + WIDTHBG1 - SCROLLSPEED1;
  271.             ┬º\x01\x01\x03\f┬º.x -= SCROLLSPEED1;
  272.          }
  273.          else if(┬º\x01\x01\x03\f┬º.x < -WIDTHBG1 + 1)
  274.          {
  275.             ┬º\x01\x01\x03\f┬º.x = ┬º\x01\x01\x03\r┬º.x + WIDTHBG1 - SCROLLSPEED1;
  276.             ┬º\x01\x01\x03\r┬º.x -= SCROLLSPEED1;
  277.          }
  278.          else
  279.          {
  280.             ┬º\x01\x01\x03\r┬º.x -= SCROLLSPEED1;
  281.             ┬º\x01\x01\x03\f┬º.x -= SCROLLSPEED1;
  282.          }
  283.          if(┬º\x01\x01\x03\x10┬º.x < -WIDTHBG2 + 1)
  284.          {
  285.             ┬º\x01\x01\x03\x10┬º.x = ┬º\x01\x01\x04\x01┬º.x + WIDTHBG2 - SCROLLSPEED2;
  286.             ┬º\x01\x01\x04\x01┬º.x -= SCROLLSPEED2;
  287.             ┬º\x01\x01\x03\x0f┬º.x = ┬º\x01\x01\x04\x03┬º.x + WIDTHBG2 - SCROLLSPEED2;
  288.             ┬º\x01\x01\x04\x03┬º.x -= SCROLLSPEED2;
  289.          }
  290.          else if(┬º\x01\x01\x04\x01┬º.x < -WIDTHBG2 + 2)
  291.          {
  292.             ┬º\x01\x01\x04\x01┬º.x = ┬º\x01\x01\x03\x10┬º.x + WIDTHBG2 - SCROLLSPEED2;
  293.             ┬º\x01\x01\x03\x10┬º.x -= SCROLLSPEED2;
  294.             ┬º\x01\x01\x04\x03┬º.x = ┬º\x01\x01\x03\x0f┬º.x + WIDTHBG2 - SCROLLSPEED2;
  295.             ┬º\x01\x01\x03\x0f┬º.x -= SCROLLSPEED2;
  296.          }
  297.          else
  298.          {
  299.             ┬º\x01\x01\x03\x10┬º.x -= SCROLLSPEED2;
  300.             ┬º\x01\x01\x04\x01┬º.x -= SCROLLSPEED2;
  301.             ┬º\x01\x01\x03\x0f┬º.x -= SCROLLSPEED2;
  302.             ┬º\x01\x01\x04\x03┬º.x -= SCROLLSPEED2;
  303.          }
  304.          if(┬º\x01\x01\x04\x04┬º.x < -WIDTHBG3 + 1)
  305.          {
  306.             ┬º\x01\x01\x04\x04┬º.x = ┬º\x01\x01\x04\x05┬º.x + WIDTHBG3 - SCROLLSPEED3 - 2;
  307.             ┬º\x01\x01\x04\x05┬º.x -= SCROLLSPEED3;
  308.             ┬º\x01\x01\x03\x06┬º.x = ┬º\x01\x01\x03\x0b┬º.x + WIDTHBG3 - SCROLLSPEED3 - 2;
  309.             ┬º\x01\x01\x03\x0b┬º.x -= SCROLLSPEED3;
  310.          }
  311.          else if(┬º\x01\x01\x04\x05┬º.x < -WIDTHBG3 + 1)
  312.          {
  313.             ┬º\x01\x01\x04\x05┬º.x = ┬º\x01\x01\x04\x04┬º.x + WIDTHBG3 - SCROLLSPEED3 - 2;
  314.             ┬º\x01\x01\x04\x04┬º.x -= SCROLLSPEED3;
  315.             ┬º\x01\x01\x03\x0b┬º.x = ┬º\x01\x01\x03\x06┬º.x + WIDTHBG3 - SCROLLSPEED3 - 2;
  316.             ┬º\x01\x01\x03\x06┬º.x -= SCROLLSPEED3;
  317.          }
  318.          else
  319.          {
  320.             ┬º\x01\x01\x04\x04┬º.x -= SCROLLSPEED3;
  321.             ┬º\x01\x01\x04\x05┬º.x -= SCROLLSPEED3;
  322.             ┬º\x01\x01\x03\x06┬º.x -= SCROLLSPEED3;
  323.             ┬º\x01\x01\x03\x0b┬º.x -= SCROLLSPEED3;
  324.          }
  325.          if(┬º\x01\x01\x04\x06┬º.x < -WIDTHBG4 + 1)
  326.          {
  327.             ┬º\x01\x01\x04\x06┬º.x = ┬º\x01\x01\x04\x07┬º.x + WIDTHBG4 - SCROLLSPEED4;
  328.             ┬º\x01\x01\x04\x07┬º.x -= SCROLLSPEED4;
  329.          }
  330.          else if(┬º\x01\x01\x04\x07┬º.x < -WIDTHBG4 + 2)
  331.          {
  332.             ┬º\x01\x01\x04\x07┬º.x = ┬º\x01\x01\x04\x06┬º.x + WIDTHBG4 - SCROLLSPEED4;
  333.             ┬º\x01\x01\x04\x06┬º.x -= SCROLLSPEED4;
  334.          }
  335.          else
  336.          {
  337.             ┬º\x01\x01\x04\x06┬º.x -= SCROLLSPEED4;
  338.             ┬º\x01\x01\x04\x07┬º.x -= SCROLLSPEED4;
  339.          }
  340.          if(┬º\x01\x01\x04\n┬º.x < -WIDTHBG5 + 1)
  341.          {
  342.             ┬º\x01\x01\x04\n┬º.x = ┬º\x01\x01\x04\b┬º.x + WIDTHBG5 - SCROLLSPEED5 - 1;
  343.             ┬º\x01\x01\x04\b┬º.x -= SCROLLSPEED5;
  344.          }
  345.          else if(┬º\x01\x01\x04\b┬º.x < -WIDTHBG5 + 1)
  346.          {
  347.             ┬º\x01\x01\x04\b┬º.x = ┬º\x01\x01\x04\n┬º.x + WIDTHBG5 - SCROLLSPEED5 - 1;
  348.             ┬º\x01\x01\x04\n┬º.x -= SCROLLSPEED5;
  349.          }
  350.          else
  351.          {
  352.             ┬º\x01\x01\x04\n┬º.x -= SCROLLSPEED5;
  353.             ┬º\x01\x01\x04\b┬º.x -= SCROLLSPEED5;
  354.          }
  355.          if(┬º\x01\x01\x03\x0e┬º.GetPercentDone() == 50)
  356.          {
  357.             ┬º\x01\x01\x03\x10┬º.visible = false;
  358.             ┬º\x01\x01\x03\x0f┬º.visible = true;
  359.             ┬º\x01\x01\x04\x01┬º.visible = false;
  360.             ┬º\x01\x01\x04\x03┬º.visible = true;
  361.             ┬º\x01\x01\x04\x04┬º.visible = false;
  362.             ┬º\x01\x01\x03\x06┬º.visible = true;
  363.             ┬º\x01\x01\x04\x05┬º.visible = false;
  364.             ┬º\x01\x01\x03\x0b┬º.visible = true;
  365.             ┬º\x01\x01\x04\t┬º.visible = false;
  366.             ┬º\x01\x01\x04\x10┬º.visible = true;
  367.          }
  368.       }
  369.       
  370.       public function GetFrontScrollSpeed() : int
  371.       {
  372.          return FRONTSCROLLSPEED;
  373.       }
  374.       
  375.       public function StopGame() : *
  376.       {
  377.          ┬º\x01\x01\x03\x04┬º();
  378.          ┬º\x01\x01\x03\t┬º();
  379.          ┬º\x01\x01\x02\t┬º.removeEventListener(Event.ENTER_FRAME,┬º\x01\x01\x04\r┬º);
  380.       }
  381.       
  382.       public function StartGame() : *
  383.       {
  384.          ┬º\x01\x01\x04\x0f┬º();
  385.          ┬º\x01\x01\x03\x05┬º();
  386.          ┬º\x01\x01\x05\x01┬º = 0;
  387.          ┬º\x01\x01\x02\t┬º.addEventListener(Event.ENTER_FRAME,┬º\x01\x01\x04\r┬º,false,0,true);
  388.       }
  389.       
  390.       public function ┬º\x01\x01\x04\r┬º(param1:Event) : *
  391.       {
  392.          if(!┬º\x01\x01\x04\x0e┬º)
  393.          {
  394.             ┬º\x01\x01\x04\x02┬º();
  395.             ┬º\x01\x01\x03\n┬º();
  396.          }
  397.       }
  398.       
  399.       private function ┬º\x01\x01\x04\x0f┬º() : *
  400.       {
  401.          ┬º\x01\x01\x03\x04┬º();
  402.          ┬º\x01\x01\x03\r┬º = new bg1();
  403.          ┬º\x01\x01\x03\f┬º = new bg1();
  404.          ┬º\x01\x01\x03\x10┬º = new bg2();
  405.          ┬º\x01\x01\x04\x01┬º = new bg2();
  406.          ┬º\x01\x01\x04\x04┬º = new bg3();
  407.          ┬º\x01\x01\x04\x05┬º = new bg3();
  408.          ┬º\x01\x01\x03\x0f┬º = new bg22();
  409.          ┬º\x01\x01\x04\x03┬º = new bg22();
  410.          ┬º\x01\x01\x03\x06┬º = new bg32();
  411.          ┬º\x01\x01\x03\x0b┬º = new bg32();
  412.          ┬º\x01\x01\x04\x06┬º = new bg4();
  413.          ┬º\x01\x01\x04\x07┬º = new bg4();
  414.          ┬º\x01\x01\x04\n┬º = new bg5();
  415.          ┬º\x01\x01\x04\b┬º = new bg5();
  416.          ┬º\x01\x01\x04\t┬º = new bg6();
  417.          ┬º\x01\x01\x04\x10┬º = new bg62();
  418.          ┬º\x01\x01\x03\r┬º.x = DOC_LEFT;
  419.          ┬º\x01\x01\x03\r┬º.y = TOPBG1;
  420.          ┬º\x01\x01\x03\r┬º.height = HEIGHTBG1;
  421.          ┬º\x01\x01\x03\r┬º.width = WIDTHBG1;
  422.          ┬º\x01\x01\x03\f┬º.x = DOC_LEFT + WIDTHBG1;
  423.          ┬º\x01\x01\x03\f┬º.y = TOPBG1;
  424.          ┬º\x01\x01\x03\f┬º.height = HEIGHTBG1;
  425.          ┬º\x01\x01\x03\f┬º.width = WIDTHBG1;
  426.          ┬º\x01\x01\x03\x10┬º.x = DOC_LEFT;
  427.          ┬º\x01\x01\x03\x10┬º.y = TOPBG2;
  428.          ┬º\x01\x01\x03\x10┬º.height = HEIGHTBG2;
  429.          ┬º\x01\x01\x03\x10┬º.width = WIDTHBG2;
  430.          ┬º\x01\x01\x04\x01┬º.x = DOC_LEFT + WIDTHBG2;
  431.          ┬º\x01\x01\x04\x01┬º.y = TOPBG2;
  432.          ┬º\x01\x01\x04\x01┬º.height = HEIGHTBG2;
  433.          ┬º\x01\x01\x04\x01┬º.width = WIDTHBG2;
  434.          ┬º\x01\x01\x04\x04┬º.x = DOC_LEFT;
  435.          ┬º\x01\x01\x04\x04┬º.y = TOPBG3;
  436.          ┬º\x01\x01\x04\x04┬º.height = HEIGHTBG3;
  437.          ┬º\x01\x01\x04\x04┬º.width = WIDTHBG3;
  438.          ┬º\x01\x01\x04\x05┬º.x = DOC_LEFT + WIDTHBG3 - 2;
  439.          ┬º\x01\x01\x04\x05┬º.y = TOPBG3;
  440.          ┬º\x01\x01\x04\x05┬º.height = HEIGHTBG3;
  441.          ┬º\x01\x01\x04\x05┬º.width = WIDTHBG3;
  442.          ┬º\x01\x01\x03\x0f┬º.x = DOC_LEFT;
  443.          ┬º\x01\x01\x03\x0f┬º.y = TOPBG2;
  444.          ┬º\x01\x01\x03\x0f┬º.height = HEIGHTBG2;
  445.          ┬º\x01\x01\x03\x0f┬º.width = WIDTHBG2;
  446.          ┬º\x01\x01\x03\x0f┬º.visible = false;
  447.          ┬º\x01\x01\x04\x03┬º.x = DOC_LEFT + WIDTHBG2;
  448.          ┬º\x01\x01\x04\x03┬º.y = TOPBG2;
  449.          ┬º\x01\x01\x04\x03┬º.height = HEIGHTBG2;
  450.          ┬º\x01\x01\x04\x03┬º.width = WIDTHBG2;
  451.          ┬º\x01\x01\x04\x03┬º.visible = false;
  452.          ┬º\x01\x01\x03\x06┬º.x = DOC_LEFT;
  453.          ┬º\x01\x01\x03\x06┬º.y = TOPBG3;
  454.          ┬º\x01\x01\x03\x06┬º.height = HEIGHTBG3;
  455.          ┬º\x01\x01\x03\x06┬º.width = WIDTHBG3;
  456.          ┬º\x01\x01\x03\x06┬º.visible = false;
  457.          ┬º\x01\x01\x03\x0b┬º.x = DOC_LEFT + WIDTHBG3 - 2;
  458.          ┬º\x01\x01\x03\x0b┬º.y = TOPBG3;
  459.          ┬º\x01\x01\x03\x0b┬º.height = HEIGHTBG3;
  460.          ┬º\x01\x01\x03\x0b┬º.width = WIDTHBG3;
  461.          ┬º\x01\x01\x03\x0b┬º.visible = false;
  462.          ┬º\x01\x01\x04\x06┬º.x = DOC_LEFT;
  463.          ┬º\x01\x01\x04\x06┬º.y = TOPBG4;
  464.          ┬º\x01\x01\x04\x06┬º.height = HEIGHTBG4;
  465.          ┬º\x01\x01\x04\x06┬º.width = WIDTHBG4;
  466.          ┬º\x01\x01\x04\x07┬º.x = DOC_LEFT + WIDTHBG4;
  467.          ┬º\x01\x01\x04\x07┬º.y = TOPBG4;
  468.          ┬º\x01\x01\x04\x07┬º.height = HEIGHTBG4;
  469.          ┬º\x01\x01\x04\x07┬º.width = WIDTHBG4;
  470.          ┬º\x01\x01\x04\n┬º.x = DOC_LEFT;
  471.          ┬º\x01\x01\x04\n┬º.y = TOPBG5;
  472.          ┬º\x01\x01\x04\n┬º.height = HEIGHTBG5;
  473.          ┬º\x01\x01\x04\n┬º.width = WIDTHBG5;
  474.          ┬º\x01\x01\x04\b┬º.x = DOC_LEFT + WIDTHBG5 - 1;
  475.          ┬º\x01\x01\x04\b┬º.y = TOPBG5;
  476.          ┬º\x01\x01\x04\b┬º.height = HEIGHTBG5;
  477.          ┬º\x01\x01\x04\b┬º.width = WIDTHBG5;
  478.          ┬º\x01\x01\x04\t┬º.x = DOC_LEFT;
  479.          ┬º\x01\x01\x04\t┬º.y = TOPBG6;
  480.          ┬º\x01\x01\x04\t┬º.height = HEIGHTBG6;
  481.          ┬º\x01\x01\x04\t┬º.width = WIDTHBG6;
  482.          ┬º\x01\x01\x04\x10┬º.x = DOC_LEFT;
  483.          ┬º\x01\x01\x04\x10┬º.y = TOPBG6;
  484.          ┬º\x01\x01\x04\x10┬º.height = HEIGHTBG6;
  485.          ┬º\x01\x01\x04\x10┬º.width = WIDTHBG6;
  486.          ┬º\x01\x01\x04\x10┬º.visible = false;
  487.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\t┬º);
  488.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x10┬º);
  489.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\n┬º);
  490.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\b┬º);
  491.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x06┬º);
  492.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x07┬º);
  493.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x04┬º);
  494.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x05┬º);
  495.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\x06┬º);
  496.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\x0b┬º);
  497.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\x10┬º);
  498.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x01┬º);
  499.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\x0f┬º);
  500.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x04\x03┬º);
  501.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\r┬º);
  502.          ┬º\x01\x01\x04\x0b┬º.addChild(┬º\x01\x01\x03\f┬º);
  503.       }
  504.    }
  505. }
  506.